/**
 * 文件名称：MeasurementServiceImpl.java
 * 文件版权：ChinaParasol Technologies Co., Ltd. Copyright 2000-2020,  All rights reserved
 * 文件描述：<描述>
 * 创建作者：Administrator
 * 创建时间：Jan 5, 2013
 * 修改内容：<修改内容>
 */
package com.parasol.hcerp.service.measurement.service;

import java.util.List;

import com.parasol.hcerp.service.measurement.dao.MeasurementDao;
import com.parasol.hcerp.service.measurement.domain.MeasurementBean;

/**
 * 
 * @author  Administrator
 * @version V1.0, Jan 5, 2013
 */
public class MeasurementServiceImpl implements MeasurementService
{
    
    private MeasurementDao measurementDao = null;
    
    public MeasurementDao getMeasurementDao()
    {
        return measurementDao;
    }

    public void setMeasurementDao(MeasurementDao measurementDao)
    {
        this.measurementDao = measurementDao;
    }

    public int checkExist(String measurementname)
    {
        return measurementDao.checkExist(measurementname);
    }
    
    public void deleteForMeasurement(String measurementid)
    {
        measurementDao.deleteForMeasurement(measurementid);
    }
    
    public MeasurementBean queryForMeasurement(String measurementid)
    {
        return measurementDao.queryForMeasurement(measurementid);
    }
    
    public List<MeasurementBean> queryForMeasurementList()
    {
        return measurementDao.queryForMeasurementList();
    }
    
    public void saveForMeasurement(MeasurementBean measurementBean)
    {
        measurementDao.saveForMeasurement(measurementBean);
    }
    
    public void updateForMeasurement(MeasurementBean measurementBean)
    {
        measurementDao.updateForMeasurement(measurementBean);
    }
    
}
